* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: '楷体';
}

.box {
  width: 990px;
  height: 40px;
  margin: 100px auto;
  border: 1px solid #DCDFE6;
  background-image: url('./pic-2.jpg');
  background-size: 100%;
}

.box ul li {
  list-style: none;
  float: left;
  display: block;
  width: 98px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-right: 1px dashed white;
}

.box ul li:nth-child(10) {
  border: none;
}

.box ul li a {
  text-decoration: none;
  color: white;
  display: block;
  width: 100px;
  height: 40px;
  transition: all .5s;
}

.box ul li a:hover {
  background-color: rgba(0, 0, 0, .5);
}

.active {
  background-color: rgba(255, 0, 0, .5);
  color: white;
}

.seach {
  width: 600px;
  height: 30px;
  border: 1px solid #DCDFE6;
  margin: 30px auto;
  text-align: right;
  color: darkgray;
  padding-right: 20px;
  line-height: 30px;
}

.seach1 {
  width: 560px;
  height: 30px;
  margin: 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seach1 input {
  width: 460px;
  height: 30px;
  line-height: 30px;
  color: darkgray;
  padding-left: 20px;
}

.seach1 button {
  width: 60px;
  height: 34px;
  margin-left: 10px;
  border: none;
  color: white;
  background: dodgerblue;
  cursor: pointer;
  transition: all .5s;
}

.seach1 button:hover {
  opacity: .8;
  color: white;
}